package org.mall.modules.pay.job;

import org.mall.modules.pay.service.PayTransactionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/***
 *@author yinxucun
 *@date 2020-01-05 19:03 
 */
@Component
public class PayExpireJob {
    @Autowired
    private PayTransactionService payTransactionService;

    void execute(){
        payTransactionService.closeExpireTransaction();

    }
}
